/**
 * The vamp_serviceweb.Member entity.
 *
 * @author    
 *
 *
 */
package vamp
class Member {
    static mapping = {
         table 'member'
         // version is set to false, because this isn't available by default for legacy databases
         version false
         id generator:'identity', column:'idmember'
    }
    String firstname
    String name
    String language
    String email
    String password

    static constraints = {
        firstname()
        name()
        language()
        email(blank: false)
        password(blank: false)
    }
    String toString() {
        return "${id}"
    }
}
